import request from '@/utils/request'

// 查询学员信息列表
export function listExamInformation(applicationId) {
  return request({
    url: '/student/examInformation/list/' + applicationId,
    method: 'get',
  })
}

// 查询学员信息详细
export function getExamInformation(id) {
  return request({
    url: '/student/examInformation/' + id,
    method: 'get'
  })
}

// 新增学员信息
export function addExamInformation(data) {
  return request({
    url: '/student/examInformation',
    method: 'post',
    data: data
  })
}

// 修改学员信息
export function updateExamInformation(data) {
  return request({
    url: '/student/examInformation',
    method: 'put',
    data: data
  })
}

// 删除学员信息
export function delExamInformation(id) {
  return request({
    url: '/student/examInformation/' + id,
    method: 'delete'
  })
}

// 选中提交的学生信息
export function selectStudent(id) {
  return request({
    url: '/student/examInformation/selectStudent/' + id,
    method: 'get'
  })
}
